package ribbon.config;

import com.netflix.loadbalancer.IRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import ribbon.rule.MyRule;

@Configuration
public class RibbonRuleConfig {
    @Bean
    public IRule myRule(){
        return new MyRule();
    }

}
